@import '~antd/lib/style/themes/default.less';

@pro-header-hover-bg: rgba(0, 0, 0, 0.025);

.header {
  height: 56px !important;
  padding: 0;
  background: #000;
  //background-image: linear-gradient(120deg, #a2cee7,#000d69);
  position: relative;
}

.title {
  color: #fff;
  padding-left: 15px;
  font-weight: 700;
  font-size: 20px;
  text-shadow: 3px 3px 7px #000;

}

.menu {
  :global(.anticon) {
    margin-right: 8px;
  }

  :global(.ant-dropdown-menu-item) {
    width: 160px;
  }
}

.icon {
  padding: 4px;
  color: #fff;
}

i.trigger {
  font-size: 20px;
  height: 64px;
  cursor: pointer;
  transition: all 0.3s, padding 0s;
  padding: 22px 24px;

  &:hover {
    background: @pro-header-hover-bg;
  }
}

.noticeButton {
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s;
  padding: 0 20px;
}

.popover {
  width: 300px;

  :global(.ant-popover-inner-content) {
    padding: 0;
  }
}
.pickColor{
  :global(.ant-popover-inner-content) {
    padding: 0;
  }
}
.noticeBox{
  max-height: 368px;
  overflow-y: auto;
}
.noticePop {
  :global(.ant-tabs-nav-scroll) {
    text-align: center;
  }
}
.noticeItem{
  padding:0  20px 10px 20px;
  border-bottom: 1px #e1e1e1 solid;
  &:not(:first-of-type){
    padding-top: 10px;
  }
}
.more{
  height: 40px;
  display: flex;
  font-size:16px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #939393;
  &:hover{
    color: #585858;
  }
}
.noticeType{
  overflow: hidden;
  float: right;
}
.right {
  float: right;
  height: 100%;
  overflow: hidden;
  display: flex;
  .action {
    cursor: pointer;
    padding: 0 12px;
    display: inline-block;
    transition: all 0.3s;
    height: 100%;

    > i {
      vertical-align: middle;
      color: @text-color;
    }

    &:hover {
      background: @pro-header-hover-bg;
    }

    :global(&.ant-popover-open) {
      background: @pro-header-hover-bg;
    }
  }

  .account {
    .avatar {
      margin: 12px 8px 16px 0;
      color: @primary-color;
      background: rgba(255, 255, 255, 0.85);
      vertical-align: top;
    }
  }

  .name {
    color: #ffffff;
  }
}


.lock_container{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
}
.lock_mask{
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.9;
}
.lock_content{
  padding: 20px 40px;
  position: absolute;
  text-align: center;
  background: #ffffff;
  border-radius: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.lock_username{
  line-height: 1;
}
.lock_input{
  background:#009688;
  border-color:#009688;
  color: #ffffff;
  height: 40px;
  animation:resetBg .1s forwards;
  &:hover {
    color: #ffffff;
    background-color: #009688 !important;
    border-color: #009688 !important;
  }
  &:focus {
    color: #ffffff;
    background-color: #009688 !important;
    border-color: #009688 !important;
  }
  &::-webkit-input-placeholder{
    color: #fff;
  }
  &::-webkit-input-placeholder,&:-ms-input-placeholder,&::-moz-placeholder { /* Internet Explorer 10+ */
    color: #fff;
  }
}
@keyframes resetBg {
  to {
    color: #fff;
    background: #009688;
  }
}
